import { FormattedMessage } from '@umijs/max';

const FormattedMessageCustom: React.FC<any> = ({ id }) => {
    if (id) {
        return <FormattedMessage id={id}></FormattedMessage>;
    } else {
        return '';
    }
};
export default FormattedMessageCustom;
